package io;

import java.io.File;
import java.util.Arrays;

public class Demo2 {

    public static void main(String[] args) {
        File file = new File("d:/javacode");
        System.out.println(Arrays.toString(file.list()));

    }

}
